<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>DouPHP 管理中心</title>
    <meta name="Copyright" content="Douco Design." />
    <link rel="stylesheet" href="/Public/Static/Admin/css/zyUpload.css" type="text/css">
    <link href="/Public/Static/Admin/css/public.css" rel="stylesheet" type="text/css">

    <link rel="stylesheet" href="/Public/Static/Admin/themes/default/default.css" />
    <link rel="stylesheet" href="/Public/Static/Admin/plugins/code/prettify.css" />
    <script charset="utf-8" src="/Public/Static/Admin/kindeditor.js"></script>
    <script charset="utf-8" src="/Public/Static/Admin/lang/zh_CN.js"></script>
    <script charset="utf-8" src="/Public/Static/Admin/plugins/code/prettify.js"></script>

    <script type="text/javascript" src="/Public/Static/Admin/js/jquery.min.js"></script>
    <script type="text/javascript" src="/Public/Static/Admin/js/global.js"></script>
    <script src="/Public/Static/Admin/js/add_article.js"></script>

    <!--add_article.html-->
    <link rel="stylesheet" type="text/css" href="/Public/Static/Admin/datedropper.css">
    <link rel="stylesheet" type="text/css" href="/Public/Static/Admin/css/timedropper.min.css">
    <link rel="stylesheet" href="/Public/Static/Admin/css/zyUpload.css" type="text/css">

    <link rel="stylesheet" href="/editor/themes/default/default.css" />
    <link rel="stylesheet" href="/editor/plugins/code/prettify.css" />
    <script charset="utf-8" src="/editor/kindeditor.js"></script>
    <script charset="utf-8" src="/editor/lang/zh_CN.js"></script>
    <script charset="utf-8" src="/editor/plugins/code/prettify.js"></script>

    <script src="/Public/Static/Admin/js/zyFile.js"></script>
    <script src="/Public/Static/Admin/js/zyUpload.js"></script>
    <script src="/Public/Static/Admin/js/script.js"></script>
    <script src="/Public/Static/Admin/js/datedropper.min.js"></script>
    <script src="/Public/Static/Admin/js/timedropper.min.js"></script>
    <script type="text/javascript" src="/Public/Static/Admin/js/jquery.autotextarea.js"></script>


    <!--<script charset="utf-8" src="/Public/Static/Admin/js/kindeditor.js"></script>-->
    <!--<script charset="utf-8" src="/Public/Static/Admin/js/zh_CN.js"></script>-->
    <!--<script charset="utf-8" src="/Public/Static/Admin/js/prettify.js"></script>-->

</head>
<body>
<div id="dcWrap"> <div id="dcHead">
    <div id="head">
        <div class="logo"><a href="index.html"><img src="/Public/Static/Admin/images/dclogo.gif" alt="logo"></a></div>
        <div class="nav">
            <ul class="navRight">
                <li class="M noLeft"><a href="JavaScript:void(0);">您好，admin</a>
                    <div class="drop mUser">
                        <a href="manager.php?rec=edit&id=1">编辑我的个人资料</a>
                        <a href="manager.php?rec=cloud_account">设置云账户</a>
                    </div>
                </li>
                <li class="noRight"><a href="<?php echo U('/Index/login');?>">退出</a></li>
            </ul>
        </div>
    </div>
</div>
    <!-- dcHead 结束 --> <div id="dcLeft"><div id="menu">
        <ul class="top">
            <li><a href="<?php echo U('/Index/index');?>"><i class="home"></i><em>管理首页</em></a></li>
        </ul>
        <ul>
            <li><a href="<?php echo U('/ActInfo/index');?>"><i class="show"></i><em>文章管理</em></a></li>
            <li><a href="<?php echo U('/News/index');?>"><i class="page"></i><em>咨询管理</em></a></li>
        </ul>
        <ul>
            <li><a href="<?php echo U('/Order/index');?>"><i class="productCat"></i><em>订单管理</em></a></li>
        </ul>
        <ul>
            <li><a href="<?php echo U('/UserInfo/index');?>"><i class="articleCat"></i><em>会员管理</em></a></li>
        </ul>
        <ul class="bot">
            <li><a href="<?php echo U('/Backup/index');?>"><i class="backup"></i><em>数据备份</em></a></li>
            <li><a href="<?php echo U('/AdminInfo/index');?>"><i class="manager"></i><em>网站管理员</em></a></li>
            <li><a href="<?php echo U('/AdminPower/index');?>"><i class="manager"></i><em>超级管理员</em></a></li>
            <li><a href="manager.php?rec=manager_log"><i class="managerLog"></i><em>操作记录</em></a></li>
        </ul>
    </div>
    </div>
    <div id="dcMain"> <!-- 当前位置 -->


   <!-- 当前位置 -->
<div id="urHere">DouPHP 管理中心<b>></b><strong>网站管理员</strong> </div>   <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3><a href="<?php echo U('index');?>" class="actionBtn">返回列表</a>添加网站管理员</h3>
    <form action="<?php echo U('addAdmin');?>" method="post">
     <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
      <tr>
       <td width="100" align="right">管理员账号</td>
       <td>
        <input type="text" name="admin_id" size="40" value="" class="inpMain" />
        <span class="error"><?php echo ($errData['admin_id']); ?></span>
       </td>
      </tr>

      <tr>
       <td align="right">密码</td>
       <td>
        <input type="password" name="admin_pwd" size="40" value="" class="inpMain" />
        <span class="error"> <?php echo ($errData['admin_pwd']); ?></span>
       </td>
      </tr>

      <tr>
       <td align="right">确认密码</td>
       <td>
        <input type="password" name="password_confirm" size="40" class="inpMain" />
        <span class="error"> <?php echo ($errData['password_confirm']); ?></span>
       </td>
      </tr>

      <tr>
       <td width="100" align="right">管理员姓名</td>
       <td>
        <input type="text" name="real_name" size="40" value="" class="inpMain" />
        <span class="error"> <?php echo ($errData['real_name']); ?></span>
       </td>
      </tr>

      <tr>
       <td align="right">管理员角色</td>
       <td>
        <select name="role_id">
         <option value="">--管理员角色--</option>
         <option value="2">副管理员</option>
         <option value="3">员工</option>
        </select>
        <span class="error"> <?php echo ($errData['role_id']); ?></span>
       </td>
      </tr>

       <td></td>
       <td>
        <input type="hidden" name="token" value="5a58b748" />
        <input type="submit" name="submit" class="btn" value="提交" />
       </td>
      </tr>
     </table>
    </form>
</div>


</div>
<div class="clear"></div>
<div id="dcFooter">
    <div id="footer">
        <div class="line"></div>
        <ul>
            版权所有 © 2017-2019 php1704
        </ul>
    </div>
</div><!-- dcFooter 结束 -->
<div class="clear"></div> </div>

</body>
</html>